<{include file="db:`$mydirname`_mobile_header.html"}>


<h3><{$smarty.const._MD_RATETHISSITE}></h3>

<div style="margin:20px 0; border:1px solid #999; padding:4px;">
  <h4><{$link.title}></h4>

  <div style="text-align:center;color:#999;font-size:86%;">
    <{if $link.url}>
      <{if $link.url|strlen > 30}>
          <{$link.url|substr:0:30}>
          <{$link.url|substr:30:60}>
          <{$link.url|substr:60:90}>
      <{else}>
        <{$link.url}>
      <{/if}>
      <br />
      <{if $link.adult}>
        <img src="<{$myurl}>/images/warning64.gif" />
      <{else}>
        <{if $link.capture}>
          <img src="<{$cache_url}>/<{$link.lid}>.jpg" width="64" height="64" />
          <br />
          PC SITE CAPTURE<br />
        <{else}>
          <{if $screenshotservice}>
            <img src="<{$screenshotservice}><{$link.url}>" width="64" height="64" />
            <br />
            PC SITE CAPTURE<br />
          <{else}>
            <img src="<{$myurl}>/images/cancel64.gif" />
          <{/if}>
        <{/if}>
      <{/if}>
    <{/if}>

    <{if $link.murl}>
      <div style="margin:20px 0 0 0;">
        [Mobile]<br />
        <{if $link.murl|strlen > 30}>
          <{$link.murl|substr:0:30}>
          <{$link.murl|substr:30:60}>
          <{$link.murl|substr:60:90}>
        <{else}>
          <{$link.murl}>
        <{/if}>
      </div>
    <{/if}>
  </div>
</div>

<ul style="margin:16px 0;list-style-position:outside;padding:0 0 0 16px;">
  <li><{$smarty.const._MD_VOTEONCE}></li>
  <li><{$smarty.const._MD_RATINGSCALE}></li>
  <li><{$smarty.const._MD_BEOBJECTIVE}></li>
  <li><{$smarty.const._MD_DONOTVOTE}></li>
</ul>

<form method="post" action="<{my_make_uri option=$uri_options mydirname=$mydirname controller=rating method=post}>">
  <input type="hidden" name="lid" value="<{$link.lid}>" />
  <{if $rating_type == 1}>
    <select name="rating">
      <option>--</option>
      <option>10</option>
      <option>9</option>
      <option>8</option>
      <option>7</option>
      <option>6</option>
      <option>5</option>
      <option>4</option>
      <option>3</option>
      <option>2</option>
      <option>1</option>
      <option>0</option>
    </select>&nbsp;&nbsp;
    <br />
  <{/if}>

  <input type="submit" name="submit" value="<{if $rating_type == 1}><{$smarty.const._MD_RATEIT}><{elseif $rating_type == 2}><{$smarty.const._MD_RATING_TYPE_2_LANG}><{/if}>" />
  <{$gticket}>
</form>


<{include file="db:`$mydirname`_mobile_footer.html"}>
